package com.fs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.pojo.WhTransfer;
import com.fs.pojo.WhWarehouse;
import com.fs.pojo.WhWarehousing;
import com.fs.vo.Condition;

import java.util.List;

/**
 * @author: qiji
 * @date:
 * @description:
 */
public interface WhTransferService {
    /**
     * 添加调拨单
     * @param whTransfer 调拨单模型
     * @return
     */
    Integer addWhTransfer(WhTransfer whTransfer);

    /**
     * 删除调拨单
     * @param transferId
     * @return
     */
    Integer deleteTransfer(int transferId);

    /**
     * 修改调拨单
     * @param whTransfer
     * @return
     */
    Integer updateTransfer(WhTransfer whTransfer);
    /**
     *  分页查询
     * @return
     */
    Page<WhTransfer> selectPage(Condition<WhTransfer> condition);

    /**
     * 主键id查询
     * @param id id主键
     * @return
     */
    WhTransfer queryTransferById(Integer id);

    /**
     * 查询所有仓库信息
     * @return
     */
    List<WhTransfer> queryAll();
}
